import React from 'react'
import {Image, View} from '@tarojs/components'
import noResult from  './no-reault.png'
import './NoResult.scss'

interface Props {
  title?: string
}

const NoResult: React.FC<Props> = ({title = '暂无查询结果'}) => {
  return <View className='no_result'>
    <Image src={noResult} className='no_result_img' mode='widthFix' />
    <View className='no_result_title'>{title}</View>
  </View>
}

export default NoResult
